// 后端请求的路径前缀
export const baseUrl = ''
// 路由白名单列表
export const whiteList = [
  '/login',
  '/sso',
  '/portal',
  '/goodsList',
  '/goodsDetail',
]

export const pageConfig = {
  pageSizeOptions: ['10', '20', '30', '40', '50'],
  pageSize: 10
}
export const roleCodeMap = {
  'DATA_PRODUCER': '供应商',
  'DATA_REQUESTER': '采购人',
  'DATA_BUSINESS': '数据商',
  'DT_THIRD_SERVERS': '第三方服务机构',
  'DATA_OPERATION_ADMIN': '运营',
  'DATA_MARKET_ADMIN': '市场部业务人员',
  'DATA_COMPLIANCE_ADMIN': '合规部业务人员'
}
export const devMenu = [
  {
    key: '015',
    title: '数据商品管理',
    pkey: '0',
    menuType: '1',
    icon: 'message',
    children: [
      {
        key: '01501',
        pkey: '015',
        title: '商品发布',
        menuType: '2',
        url: '/goods/publish'
      },
      {
        key: '01502',
        pkey: '015',
        title: '我的商品',
        menuType: '2',
        url: '/goods'
      }
    ]
  }
]

export const prodMenu = [
  {
    key: '009',
    pkey: '0',
    title: '合同管理',
    menuType: '1',
    icon: 'account-book',
    children: [
      {
        key: '00901',
        pkey: '009',
        title: '合同管理',
        url: '/contract/index',
        menuType: '2'
      },
      {
        key: '00902',
        pkey: '009',
        title: '已生效合同作废审核',
        url: '/contract/auditList',
        menuType: '2'
      }
    ]
  }
]
